﻿using System;
using System.Runtime.CompilerServices;
using System.IO;
using System.Xml;
using System.Xml.Serialization;

namespace AppDataStruct
{
    /// <summary>
    /// 预受理申请信息数据结构
    /// </summary>
    [Serializable]
    [XmlRoot("PreApplyInfo")]
    public class PreApplyInfo
    {
        /// <summary>
        /// 中文姓
        /// </summary>
        private string _zwx;
        [XmlElement("ZWX")]
        public string ZWX
        {
            get { return _zwx; }
            set { _zwx = value; }
        }

        /// <summary>
        /// 中文名
        /// </summary>
        private string _zwm;
        [XmlElement("ZWM")]
        public string ZWM
        {
            get { return _zwm; }
            set { _zwm = value; }
        }

        /// <summary>
        /// 英文姓
        /// </summary>
        private string _ywx;
        [XmlElement("YWX")]
        public string YWX
        {
            get { return _ywx; }
            set { _ywx = value; }
        }

        /// <summary>
        /// 英文名
        /// </summary>
        private string _ywm;
        [XmlElement("YWM")]
        public string YWM
        {
            get { return _ywm; }
            set { _ywm = value; }
        }

        /// <summary>
        /// 身份证号码
        /// </summary>
        private string _sfzh;
        [XmlElement("SFZH")]
        public string SFZH
        {
            get { return _sfzh; }
            set { _sfzh = value; }
        }

        /// <summary>
        /// 身份证头像照片路径
        /// </summary>
        private string _zp;
        [XmlElement("ZP")]
        public string ZP
        {
            get { return _zp; }
            set { _zp = value; }
        }

        /// <summary>
        /// 性别
        /// </summary>
        private CodeMap _xb = new CodeMap();
        [XmlElement("XB")]
        public CodeMap XB
        {
            get { return _xb; }
            set { _xb = value; }
        }

        /// <summary>
        /// 民族
        /// </summary>
        private CodeMap _mz = new CodeMap();
        [XmlElement("MZ")]
        public CodeMap MZ
        {
            get { return _mz; }
            set { _mz = value; }
        }

        /// <summary>
        /// 出生日期
        /// </summary>
        private string _csrq;
        [XmlElement("CSRQ")]
        public string CSRQ
        {
            get { return _csrq; }
            set { _csrq = value; }
        }

        /// <summary>
        /// 出生地
        /// </summary>
        private CodeMap _csd = new CodeMap();
        [XmlElement("CSD")]
        public CodeMap CSD
        {
            get { return _csd; }
            set { _csd = value; }
        }
     
        /// <summary>
        /// 职业
        /// </summary>
        private CodeMap _zy = new CodeMap();
        [XmlElement("ZY")]
        public CodeMap ZY
        {
            get { return _zy; }
            set { _zy = value; }
        }

        /// <summary>
        /// 户口所在地
        /// </summary>
        private CodeMap _hkszd = new CodeMap();
        [XmlElement("HKSZD")]
        public CodeMap HKSZD
        {
            get { return _hkszd; }
            set { _hkszd = value; }
        }

        /// <summary>
        /// 联系电话
        /// </summary>
        private string _lxdh;
        [XmlElement("LXDH")]
        public string LXDH
        {
            get { return _lxdh; }
            set { _lxdh = value; }
        }

        /// <summary>
        /// 紧急联系人姓名
        /// </summary>
        private string _jjlxr;
        [XmlElement("JJLXR")]
        public string JJLXR
        {
            get { return _jjlxr; }
            set { _jjlxr = value; }
        }

        /// <summary>
        /// 紧急联系人电话
        /// </summary>
        private string _jjlxdh;
        [XmlElement("JJLXDH")]
        public string JJLXDH
        {
            get { return _jjlxdh; }
            set { _jjlxdh = value; }
        }

        /// <summary>
        /// 本省外省
        /// </summary>
        private string _bsws;
        [XmlElement("BSWS")]
        public string BSWS
        {
            get { return _bsws; }
            set { _bsws = value; }
        }

        /// <summary>
        /// 国家工作人员单位
        /// </summary>
        private string gjgzrydw;
        [XmlElement("GJGZRYDW")]
        public string GJGZRYDW
        {
            get { return gjgzrydw; }
            set { gjgzrydw = value; }
        }

        /// <summary>
        /// 控制对象
        /// </summary>
        private string kzdx;
        [XmlElement("KZDX")]
        public string KZDX
        {
            get { return kzdx; }
            set { kzdx = value; }
        }

        private string zzzppath;
        [XmlElement("ZZZPPATH")]
        public string ZZZPPATH
        {
            get { return zzzppath; }
            set { zzzppath = value; }
        }

        /// <summary>
        /// 中文姓名
        /// </summary>
        private string zwxm;
        [XmlElement("ZWXM")]
        public string ZWXM
        {
            get { return zwxm; }
            set { zwxm = value; }
        }

        private PassportApplyInfo _hzsq = new PassportApplyInfo();
        [XmlElement("HZSQ")]
        public PassportApplyInfo HZSQ
        {
            get { return _hzsq; }
            set { _hzsq = value; }
        }

        private GAZApplyInfo _gazInfo = new GAZApplyInfo();
        [XmlElement("SCZSQ")]
        public GAZApplyInfo SCZSQ
        {
            get { return _gazInfo; }
            set { _gazInfo = value; }
        }

        private FTZApplyInfo _dlzsq = new FTZApplyInfo();
        [XmlElement("DLZSQ")]
        public FTZApplyInfo DLZSQ
        {
            get { return _dlzsq; }
            set { _dlzsq = value; }
        }

        /// <summary>
        /// 取证方式
        /// </summary>
        private CodeMap _qzfs = new CodeMap();
        [XmlElement("QZFS")]
        public CodeMap QZFS
        {
            get { return _qzfs; }
            set { _qzfs = value; }
        }

        /// <summary>
        /// 邮寄地址
        /// </summary>
        private string _yjdz;
        [XmlElement("YJDZ")]
        public string YJDZ
        {
            get { return _yjdz; }
            set { _yjdz = value; }
        }

        /// <summary>
        /// 邮编
        /// </summary>
        private string _yb;
        [XmlElement("YB")]
        public string YB
        {
            get { return _yb; }
            set { _yb = value; }
        }

        /// <summary>
        /// 收件人姓名
        /// </summary>
        private string _sjr;
        [XmlElement("SJR")]
        public string SJR
        {
            get { return _sjr; }
            set { _sjr = value; }
        }

        /// <summary>
        /// 收件人联系电话
        /// </summary>
        private string _sjrlxdh;
        [XmlElement("SJRLXDH")]
        public string SJRLXDH
        {
            get { return _sjrlxdh; }
            set { _sjrlxdh = value; }
        }

        /// <summary>
        /// 身份证正面照片路径
        /// </summary>
        private string _sfzzm;
        [XmlElement("SFZZM")]
        public string SFZZM
        {
            get { return _sfzzm; }
            set { _sfzzm = value; }
        }

        /// <summary>
        /// 身份证背面照片路径
        /// </summary>
        private string _sfzfm;
        [XmlElement("SFZBM")]
        public string SFZBM
        {
            get { return _sfzfm; }
            set { _sfzfm = value; }
        }

        /// <summary>
        /// 户口本户主页
        /// </summary>
        private string _hkbhzy;
        [XmlElement("HKBHZY")]
        public string HKBHZY
        {
            get { return _hkbhzy; }
            set { _hkbhzy = value; }
        }

        /// <summary>
        /// 户口簿本人页
        /// </summary>
        private string _hkby;
        [XmlElement("HKBBRY")]
        public string HKBBRY
        {
            get { return _hkby; }
            set { _hkby = value; }
        }

        /// <summary>
        /// 户口本变更页
        /// </summary>
        private string _hkbgy;
        [XmlElement("HKBBGY")]
        public string HKBBGY
        {
            get { return _hkbgy; }
            set { _hkbgy = value; }
        }

        /// <summary>
        /// 其他证件
        /// </summary>
        private string _qtzj;
        [XmlElement("QTZJ")]
        public string QTZJ
        {
            get { return _qtzj; }
            set { _qtzj = value; }
        }

        /// <summary>
        /// 高拍图片所合并的pdf
        /// </summary>
        private string _hightCapturePdf;
        [XmlElement("HightCapturePdf")]
        public string HightCapturePdf
        {
            get { return _hightCapturePdf; }
            set { _hightCapturePdf = value; }
        }

        /// <summary>
        /// 现场人像
        /// </summary>
        private string xcrx;
        [XmlElement("XCRX")]
        public string XCRX
        {
            get { return xcrx; }
            set { xcrx = value; }
        }

        private string qmtp;
        [XmlElement("QMTP")]
        public string QMTP
        {
            get { return qmtp; }
            set { qmtp = value; }
        }

        private string hid;
        [XmlElement("HID")]
        public string HID
        {
            get { return hid; }
            set { hid = value; }
        }

        private string _yysj;
        [XmlElement("YYSJ")]
        public string YYSJ
        {
            get { return _yysj; }
            set { _yysj = value; }
        }


        private string timestr;
        [XmlElement("TIMESTR")]
        public string TIMESTR
        {
            get { return timestr; }
            set { timestr = value; }
        }

        /// <summary>
        /// 房间ID
        /// </summary>
        private string _fjid;
        [XmlElement("FJID")]
        public string FJID
        {
            get { return _fjid; }
            set { _fjid = value; }
        }

        private string _dataSource;
        [XmlElement("DATA_SOURCE")]
        public string DATA_SOURCE
        {
            get { return _dataSource; }
            set { _dataSource = value; }
        }

        /// <summary>
        /// 手写签名
        /// </summary>
        private string _sxqm_zip;
        [XmlElement("SXQM_ZIP")]
        public string SXQM_ZIP
        {
            get { return _sxqm_zip; }
            set { _sxqm_zip = value; }
        }

        /// <summary>
        /// 邮寄时投递行政区划
        /// </summary>
        private string yjdzxzqh;
        [XmlElement("YJDZXZQH")]
        public string YJDZXZQH
        {
            get { return yjdzxzqh; }
            set { yjdzxzqh = value; }
        }
    }
}

